<?php
/**
 * App index
 * Using Panda frameworks v0.0.1(PHP)
 */

// Set app_name
$app_name = 'website';

// Get&Define app_index_path
$app_path = dirname(__DIR__);
define('APP_PATH', $app_path);

// Get app_envirnment
$app_env = get_cfg_var('env');

// Include autoloader
include "{$app_path}/../service/vendor/panda/autoloader.php";

// Panda frameworks init
new \Service\Vendor\Panda\Panda($app_name, $app_path, $app_env);